package com.draw.platte;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.view.MotionEvent;

public class PaletteViewActivity extends Activity {
    /** Called when the activity is first created. */
	PaletteView paletteView;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN );
        
        setContentView(R.layout.main);
        
        paletteView = (PaletteView)findViewById(R.id.palette);
        
    }
    @Override
    public boolean onTouchEvent(MotionEvent event){
    	return paletteView.onTouchEvent(event);
    }
}